var assert = require('chai').assert;

describe('Array', function() {
    describe('#indexOf()', function() {
        before(function() {
            console.log('this is before method');
        });

        after(function() {
            console.log('this is after method');
        });

        beforeEach(function() {
            console.log('this is beforeEach method');
        });

        afterEach(function() {
            console.log('this is afterEach method');
        });

        it('return -1', function(done) {
            console.log('test method start...........');
            assert.equal(-1, [1,2].indexOf(0));

            console.log('test method end 1...........');
            done();
            console.log('test method end 2...........');
        });
    });
});